/*
 * QCalLoginWidget.h
 *
 *  Created on: Aug 30, 2010
 *      Author: deroy2
 */

#ifndef QCALLOGINWIDGET_H_
#define QCALLOGINWIDGET_H_


#include "QCalAuthRetriever.h"
#include "QCalEventRetriever.h"

#include "QCalParseEventDetailsXML.h"
#include "eventdetails.h"
class QCalLoginWidget : public QWidget
	{
	Q_OBJECT
public:
	QCalLoginWidget(QStackedWidget* stackedWidget,QWidget *parent = 0);
    ~QCalLoginWidget();
public:
       // QMenuBar* MenuBar() const;
 
public slots:
    void eventlistview(QDate);
    void login();
    void ActivateCalender();
Q_SIGNALS:
    void logincomplete();
//    void upld();
//    void passview();
private:
    QCalAuthRetriever * authRetr; 
    QCalEventRetriever * evntRetr;
    QLineEdit* name;
    QLineEdit* pass;
    QSettings setting;
    QWidget* pWidget;
    QStackedWidget* stackedWidget;
    
private:    
   // void createWidget2();

private:
  //      void createMenus();
           
/*    public slots:
        void hello();
        
       // void createWidget3();        
    
    private:
        QAction*            menuAction;
        QAction*            menuAction2; */   
	};


#endif /* QCALLOGINWIDGET_H_ */
